<div class="container">
  <h1>previous_url()</h1>
  <p class="signature">function previous_url(): string</p>
  <h2>Description</h2>
  <div class="description">
    <p>Retrieves the URL of the previous page, if available.</p>
  </div>
  <h2>Return Value</h2>
  <table>
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>string</td>
        <td>Returns the URL of the previous page as a string.</td>
      </tr>
    </tbody>
  </table>
  <h2>Example Usage</h2>
  <div class="example">
    <pre>
echo previous_url();
// Output: URL of the previous page if available, otherwise an empty string.</pre>
  </div>
</div>
